﻿using System;
using System.Collections;
using System.Collections.Generic;

using System.Text;
using System.Web.UI.WebControls;

namespace Module.Core.Utilities
{
   public class ListPriority
    {
        public static void ByDropList(ListControl CtrlList, int j)
        {
            ArrayList arr = new ArrayList();
            for (int i = 1; i <= j; i++)
            {
                arr.Add(i);
            }
            CtrlList.DataSource = arr;
            CtrlList.DataBind();
        }
    }
}
